package app.modules.infrastructure.profile.persistence.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jasmine.framework.database.mybatisplus.annotation.I18n;
import jasmine.framework.database.mybatisplus.entity.BaseI18nEntity;

/**
 * @author mh.z
 */
@TableName("sys_profile_value")
public class ProfileValueEO extends BaseI18nEntity {

    /** 配置项ID */
    @TableField("profile_item_id")
    private Long profileItemId;

    /** 层次类型 */
    @TableField("level_type")
    private String levelType;

    /** 层次值 */
    @TableField("level_value")
    private String levelValue;

    /** 值 */
    @TableField(value = "value_code", updateStrategy = FieldStrategy.IGNORED)
    private String valueCode;

    /** 备注 */
    @I18n
    @TableField(value = "remark", updateStrategy = FieldStrategy.IGNORED)
    private String remark;

    /** 启用标志 */
    @TableField("enable_flag")
    private Boolean enableFlag;

    /** 租户ID */
    @TableField("tenant_id")
    private Long tenantId;

    public Long getProfileItemId() {
        return profileItemId;
    }

    public void setProfileItemId(Long profileItemId) {
        this.profileItemId = profileItemId;
    }

    public String getLevelType() {
        return levelType;
    }

    public void setLevelType(String levelType) {
        this.levelType = levelType;
    }

    public String getLevelValue() {
        return levelValue;
    }

    public void setLevelValue(String levelValue) {
        this.levelValue = levelValue;
    }

    public String getValueCode() {
        return valueCode;
    }

    public void setValueCode(String valueCode) {
        this.valueCode = valueCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Boolean enableFlag) {
        this.enableFlag = enableFlag;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
}
